Alias for a special check constraint that makes sure the column is never null. This is checked the same time as all the other check constraints. The name of the constraint is NotNull in the error messages if this is ever violated.
An alias for the primary key column. A member with this attribute must also have the NotNull attribute.
Rules for foreign keys when updating or deleting.
$(WIKI keyeditem, KeyedItem.checkConstraints) will check all of the members marked with this attribute and use the check given.
Default used with $(SRCTAG Rule.setDefault) for foreign keys.
Mimics Postgresql's Exclude Constraint. This will exclude any items that return true to the exclusion_.
$(SRCTAG ForeignKeyConstraint) should be used instead of this struct. This is more the behind the scenes struct.
KeyedItem will create a struct with name defined in the compile-time argument. For example a property marked with @UniqueColumn!("uc_Person") will be part of the struct uc_Person.
Alias for check constraint that makes sure the property that has this attribute only contains a member that is part of the enumeration. This should act like the ENUM constraint in MySQL. This does modify the value coming in. This is only for strings.
The foreign key user-defined attribute.
Alias for check constraint that makes sure the property that has this attribute only contains members in the set. This should act like the SET constraint in MySQL. It will sort and remove the duplicates of the SET. This does modify the value coming in. This is only for strings.
User-defined attributes that can be used with the KeyedItem mixin. The constraints module contains: $(TOC UniqueConstraintColumn) $(TOC PrimaryKeyColumn) $(TOC ExclusionConstraint) $(TOC CheckConstraint) $(TOC NotNull) $(TOC SetConstraint) $(TOC EnumConstraint) $(TOC Rule) $(TOC ForeignKey) $(TOC ForeignKeyConstraint) $(TOC Default)